package com.heima.apis.admin;

import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

public interface AdSensitiveControllerApi {
    /**
     * 铭感词分页查询
     * @param sensitiveDto
     * @return
     */
    public ResponseResult list(SensitiveDto sensitiveDto);

    /**
     * 铭感词添加
     * @param adSensitive
     * @return
     */
    public ResponseResult save(AdSensitive adSensitive);

    /**
     * 铭感词修改
     * @param adSensitive
     * @return
     */
    public ResponseResult update(AdSensitive adSensitive);

    /**
     * 铭感词删除
     * @param id
     * @return
     */
    public ResponseResult delete(Integer id);
}
